<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>


<div id="sequence">
	
	<img class="sequence-prev" src="<?php echo Yii::app()->baseUrl."/themes/front"; ?>/carousel/images/bt-prev.png" alt="Previous Frame" />
	<img class="sequence-next" src="<?php echo Yii::app()->baseUrl."/themes/front"; ?>/carousel/images/bt-next.png" alt="Next Frame" />

	<ul class="sequence-canvas">
		<?php
			foreach($model as $val){
				echo '<li>
						<h2 class="title">'.$val->title.'</h2>
						<h3 class="subtitle">'.$val->desc.'</h3>
						<img class="model" src="'.Yii::app()->baseUrl . "/images/contents/cnt_" . $val->id . ".png".'" alt="'.$val->id.'" />
					</li>';
			}
		?>
	</ul>

	<ul class="sequence-pagination">
		<?php
			foreach($model as $val){
				echo '<li><img src="'.Yii::app()->baseUrl . "/images/contents/cnt_" . $val->id . "_thumb.png".'" alt="'.$val->id.'" /></li>';
			}
		?>
	</ul>

</div>
		


	

